Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: 맵 상세 페이지를 새로운 API 명세에 맞게 마이그레이션 #980

Merged
merged 6 commits into from
Nov 2, 2023

Conversation

suyoungj
Copy link
Collaborator

구현 기능

  • 맵 상세 페이지(ManagerMapDetail)에 사용되는 api를 v2로 마이그레이션 했습니다.
  • 맵 단건조회(GET /api/maps/{mapId})를 대상으로 마이그레이션 했습니다.

논의하고 싶은 내용

  • 먼저 작업해주신것과 동일하게 v2로 마이그레이션 했습니다!
  • 아래는 참고 이미지입니다.

Before

image

After

image

Close #977

Copy link
Collaborator

@2yunseong 2yunseong left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

바쁜 와중에 고생하셨습니다!

리뷰 한개만 확인해주세요~!

Comment on lines 4 to 6
extends Omit<MapItem, 'mapDrawing' | 'sharingMapId' | 'notice' | 'managerEmail'> {
mapDrawing: string;
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

명세보면, slackUrl이 포함되어있어서 해당 부분 추가해줘야 될 것 같습니다!

일단은 저도 MapItemResponseV2에 slackUrl 프로퍼티를 추가했는데, 생각해보면 MapItem에 넣어야 겠더라구요.

위 부분은 Map관련 API 전부 이전한 이후 변경해도 좋다 생각합니다.

따라서 merge할 때 유념하면 될 것 같아요!

@suyoungj suyoungj requested a review from 2yunseong November 2, 2023 06:04
@2yunseong 2yunseong merged commit a5f7d02 into campus-dev Nov 2, 2023
1 check passed
@2yunseong 2yunseong deleted the refactor/977/map-detail-page branch November 2, 2023 06:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants